package com.example.midushop.service.product;

import com.example.midushop.entity.product.attr.AttrValue;

import java.util.List;

/**
 * SKU商品属性参数服务接口类
 */
public interface AttrValueService {
    /**
     * SKU商品规格参数值绑定
     * @param pro_sku_attr_id SKU属性ID
     * @param pro_spu_attr_id SPU规格ID
     * @return 返回受影响行数
     */
    int addAttrValue(long pro_sku_attr_id,long pro_spu_attr_id);

    List<AttrValue> getAttrValue(long pro_sku_attr_id,long pro_spu_attr_id);
}
